package com.miaow.websocketdemo1.demos.config;

/**
 * @author HWZ
 * @date 2023年10月30日 16:04
 * @description
 */
public class MyMessage {

    private String userId;

    private String message;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public MyMessage(String userId, String message) {
        this.userId = userId;
        this.message = message;
    }

    public MyMessage() {
    }

    @Override
    public String toString() {
        return "MyMessage{" +
                "userId='" + userId + '\'' +
                ", message='" + message + '\'' +
                '}';
    }
}
